home *** CD-ROM | disk | FTP | other *** search
- -----------------------------------------------
- - eXtreme Movie Manager -
- - MagicScript Technology -
- - 2003 Alessio "AleTsg" Viti -
- -----------------------------------------------
- - Web : AMAZON.COM -
- - Author : Mehdi BOURMAD -
- - Date : 16/01/2003 -
- - Comments : Import All Information -
- -----------------------------------------------
-
- #MADEBY#=Mehdi BOURMAD
- #DATEBUILD#=16/01/2003
- #WEBSITE#=AMAZON.COM - (ENGLISH)
- #NOTE#=First release
- #SCRIPTQUALITY#=3
- #ICONQUALITY#=3
- #SCRIPTGENERATION#=2
-
- #//WEBQUERY#=http://www.amazon.com/exec/obidos/search-handle-url/%20index=dvd&field-keywords=sleepy+hollow
- #WEBQUERY#=http://www.amazon.com/exec/obidos/search-handle-url/%20index=dvd&field-keywords=#MOVIE#
- #WEBQUERYID#=http://www.amazon.com/exec/obidos/tg/detail/-/#MOVIEUPDATEID#
-
- #RIGHTPAGEFOUND#
- #STARTREADWEB#
- #FINDLINE#=Amazon#12##ONERROR#=*STOP*
- #FIND#=Amazon#01##ONERROR#=*STOP*
- #COMPUTECURSOR#=-1
- #PUTCURSOR#=#01#
- #PUT#=10#02#
- #TAKEWORDLEN#=#03#,#01#,#02#
- #PUT#=Amazon.com#04#
- #CONDITIONRIGHTPAGE# #03#<>#04#
- #ENDRIGHTPAGEFOUND#
-
- #CREATEMOVIELIST#
- #STARTREADWEB#
- #WRITETITLELIST#=
- #WRITETITLELIST#=Search result
- #WRITETITLELIST#=-------------
- #FINDLINE#=results for</font>#12##ONERROR#=*OK*
- #PUT#=0#13#
- #IF# #13#==#12#
- #GOTO#=ENDMOVIES-END
- #ENDIF#
- :REPEATMOVIELIST-1
- #FIND#=<table width=168 border=0 cellspacing=0 cellpadding=4 align=center>#25# #ONERROR#=*OK* //the end of the list
- #PUTCURSOR#=#21#
- #SETCURSOR#=1
- #FIND#=results for</font>#12##ONERROR#=*OK*
- :REPEATMOVIELIST-2
- // Get item value
- #FIND#=width=100% valign=top#01# #ONERROR#=*OK*
- #IF# #01#==#13#
- // if the list is finish, going out
- #GOTO#=ENDMOVIES
- #ENDIF#
- #IF# #01#>>#25#
- // if the list is over the </OL> it means that is finish
- #GOTO#=ENDMOVIES
- #ENDIF#
- #FIND#=href#01# #ONERROR#=*OK*
- #FIND#=detail#01# #ONERROR#=*OK*
- #FIND#=-/#01# #ONERROR#=*OK*
- #FIND#=/#01# #ONERROR#=*OK*
- #COMPUTECURSOR#=+1
- #FIND#=/qid=#02# #ONERROR#=*OK*
- #TAKEWORD#=#06#,#01#,#02#
- // Get item name
- #FIND#=dvd>#01# #ONERROR#=*OK*
- #IF# #01#==#13#
- // if the list is finish, going out
- #GOTO#=ENDMOVIES
- #ENDIF#
- #IF# #01#>>#25#
- // if the list is over the </OL> it means that is finish
- #GOTO#=ENDMOVIES
- #ENDIF#
- #FIND#=>#04# #ONERROR#=*OK*
- #COMPUTECURSOR#=+1
- #FIND#=</#05# #ONERROR#=*OK*
- #TAKEWORD#=#07#,#04#,#05#
- #CHECKVARIABLE#=#07#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #WRITETITLELIST#=http://www.amazon.com/exec/obidos/tg/stores/detail/-/dvd/#06#/tech-info/ ---> #07#
- #//WRITETITLELIST#=http://amazon.com#06# ---> #07#
- #GOTO#=REPEATMOVIELIST-2
- :ENDMOVIES
- :ENDMOVIES-END
- //-----------------------------------------------------------------------
- #ENDCREATEMOVIELIST#
-
- #MOVIETITLE#
- #STARTREADWEB#
- #FINDLINE#=<b class="sans">#12##ONERROR#=*STOP*
- #FIND#=>#01# #ONERROR#=*STOP*
- #FIND#=<#02# #ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #TITLE#=#03# #ONERROR#=*ASK*
- #ENDMOVIETITLE#
-
- #DIRECTOR#
- // Get Movie ID
- #STARTREADWEB#
- #FINDLINE#=rating.asin.1#12##ONERROR#=*STOP*
- #FIND#==#01# #ONERROR#=*STOP*
- #FIND#=>#02# #ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- // Load "glance" page
- #STRING#=#04#=http://www.amazon.com/exec/obidos/tg/stores/detail/-/dvd/#03#/glance/
- #OPENNEWWEB#=#04#
- #STARTREADWEB#
- #PUT#=0#11#
- #FINDLINE#=Director:#10##ONERROR#=*STOP*
- #FIND#=">#01##ONERROR#=*STOP*
- #COMPUTECURSOR#=+1
- #PUTCURSOR#=#01#
- #FIND#=<#02##ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #TAKEDIRECTOR#=#03# #ONERROR#=*ASK*
- // Close "glance" page
- #RESTOREWEB#
- #ENDDIRECTOR#
-
- #ACTORS#
- // Get Movie ID
- #STARTREADWEB#
- #FINDLINE#=rating.asin.1#12##ONERROR#=*STOP*
- #FIND#==#01# #ONERROR#=*STOP*
- #FIND#=>#02# #ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- // Load "actors" page
- #STRING#=#04#=http://www.amazon.com/exec/obidos/tg/stores/detail/-/dvd/#03#/contents/
- #OPENNEWWEB#=#04#
- #STARTREADWEB#
- #PUT#=0#11#
- #FINDLINE#=Cast List</b>#10##ONERROR#=*STOP*
- #//FIND#=<hr#22##ONERROR#=*STOP*
- #FIND#=keywords=%20%20">#22##ONERROR#=*STOP*
- #STARTREADWEB#
- #FINDLINE#=Cast List</b>#10##ONERROR#=*STOP*
- #PUT#=0#41#
- #PUT#=7#42#
- :REPEATACTORS1
- #IF# #41#>>#42#
- #GOTO#=ENDACTORS1
- #ENDIF#
- #FIND#=">#01##ONERROR#=*STOP*
- #IF# #01#==#11#
- #GOTO#=ENDACTORS1
- #ENDIF#
- #PUTCURSOR#=#23#
- // We have reached the end
- #IF# #01#>>#22#
- #GOTO#=ENDACTORS1
- #ENDIF#
- // Actor Name
- #FIND#=>#01##ONERROR#=*STOP*
- #FIND#= <#02##ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- // Actor Rule
- #FIND#=...#01##ONERROR#=*STOP*
- #IF# #01#<<#22#
- #COMPUTECURSOR#=+3
- #PUTCURSOR#=#01#
- #FIND#=<#02##ONERROR#=*STOP*
- #COMPUTECURSOR#=-1
- #PUTCURSOR#=#02#
- #TAKEWORD#=#33#,#01#,#02#
- #CHECKVARIABLE#=#33#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #STRING#=#03#=#03# (#33#)
- #ENDIF#
- #TAKEACTOR#=#03#
- #COMPUTEVAR#=#41#=+1
- #GOTO#=REPEATACTORS1
- :ENDACTORS1
- #RESTOREWEB#
- #ENDACTORS#
-
- #STUDIO#
- #STARTREADWEB#
- #FINDLINE#=Studio:#10##ONERROR#=*STOP*
- #PUT#=0#39#
- #FIND#=: #01##ONERROR#=*STOP*
- #COMPUTEVAR#=#01#=+1
- #FIND#=<br>#02##ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #TAKESTUDIO#=#03#
- #ENDSTUDIO#
-
- #MOVIEID#
- #STARTREADWEB#
- #FINDLINE#=rating.asin.1#12##ONERROR#=*STOP*
- #FIND#==#01# #ONERROR#=*STOP*
- #FIND#=>#02# #ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
- #TAKEMOVIEID#=#03#
- #ENDMOVIEID#
-
- #POSTER#
- // Get Movie ID
- #STARTREADWEB#
- #FINDLINE#=rating.asin.1#12##ONERROR#=*STOP*
- #FIND#==#01# #ONERROR#=*STOP*
- #FIND#=>#02# #ONERROR#=*STOP*
- #TAKEWORD#=#03#,#01#,#02#
- #CHECKVARIABLE#=#03#
- #STARTDELETETAGS#
- #STARTSUBSTITUTETAGS#
-
- #PUT#=0#09#
- #STRING#=#50#=http://www.amazon.com/exec/obidos/tg/stores/detail/-/dvd/#03#/pictures/
- #OPENNEWWEB#=#50#
- #//STARTREADWEB#
- #FINDLINE#=more-pictures#12##ONERROR#=*OK*
- #IF# #12#==#09#
- #GOTO#=NOPOSTER
- #ENDIF#
- #REPEAT#
- #FIND#=http#01# #ONERROR#=*OK*
- #IF# #01#<>#09#
- // Get first part of url
- #FIND#=TZZZ#02# #ONERROR#=*OK*
- #TAKEWORD#=#03#,#01#,#02#
- #//COMPUTECURSOR#=+1
- #PUTCURSOR#=#04#
- // Get second part of url
- #FIND#="#05# #ONERROR#=*OK*
- #TAKEWORD#=#06#,#04#,#05#
- #STRING#=#07#=h#03#L#06#
- #TAKEPOSTER#=#07#
- #ENDIF#
- #FIND#=more-pictures#12##ONERROR#=*OK*
- #WHILE# #09#<>#12#
- :NOPOSTER
- #RESTOREWEB#
- #ENDPOSTER#
-
- #DELETETAGS#
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
- #DELETEWORD#=
-
- #DELETEWORD#=
- #DELETEWORD#=</b>
- #DELETEWORD#=
- #DELETEWORD#=</a>
- #DELETEWORD#=<br>
- #DELETEWORD#=</br>
- #DELETEWORD#=<BR>
- #DELETEWORD#=</BR>
- #DELETEWORD#=</P>
- #DELETEWORD#=</p>
- #DELETEWORD#=</b>
- #DELETEWORD#=<b>
- #DELETEWORD#=</B>
- #DELETEWORD#=<B>
- #DELETEWORD#=</BLOCKQUOTE>
- #DELETEWORD#=</blockquote>
- #ENDDELETETAGS#
-
- #SUBSTITUTETAGS#
- #SUBSTITUTEWORD#= =
- #SUBSTITUTEWORD#=¡=í
- #SUBSTITUTEWORD#=¢=ó
- #SUBSTITUTEWORD#=£=ú
- #SUBSTITUTEWORD#=¤=ñ
- #SUBSTITUTEWORD#=¥=Ñ
- #SUBSTITUTEWORD#=¦=ª
- #SUBSTITUTEWORD#=§=º
- #SUBSTITUTEWORD#=¨=¿
- #SUBSTITUTEWORD#=©=⌐
- #SUBSTITUTEWORD#=ª=¬
- #SUBSTITUTEWORD#=«=½
- #SUBSTITUTEWORD#=¬=¼
- #SUBSTITUTEWORD#==¡
- #SUBSTITUTEWORD#=®=«
- #SUBSTITUTEWORD#=¯=»
- #SUBSTITUTEWORD#=°=░
- #SUBSTITUTEWORD#=±=▒
- #SUBSTITUTEWORD#=²=▓
- #SUBSTITUTEWORD#=³=│
- #SUBSTITUTEWORD#=´=┤
- #SUBSTITUTEWORD#=µ=╡
- #SUBSTITUTEWORD#=¶=╢
- #SUBSTITUTEWORD#=·=╖
- #SUBSTITUTEWORD#=¸=╕
- #SUBSTITUTEWORD#=¹=╣
- #SUBSTITUTEWORD#=º=║
- #SUBSTITUTEWORD#=»=╗
- #SUBSTITUTEWORD#=¼=╝
- #SUBSTITUTEWORD#=½=╜
- #SUBSTITUTEWORD#=¾=╛
- #SUBSTITUTEWORD#=¿=┐
- #SUBSTITUTEWORD#=À=└
- #SUBSTITUTEWORD#=Á=┴
- #SUBSTITUTEWORD#=Â=┬
- #SUBSTITUTEWORD#=Ã=├
- #SUBSTITUTEWORD#=Ä=─
- #SUBSTITUTEWORD#=Å=┼
- #SUBSTITUTEWORD#=Æ=╞
- #SUBSTITUTEWORD#=Ç=╟
- #SUBSTITUTEWORD#=È=╚
- #SUBSTITUTEWORD#=É=╔
- #SUBSTITUTEWORD#=Ê=╩
- #SUBSTITUTEWORD#=Ë=╦
- #SUBSTITUTEWORD#=Ì=╠
- #SUBSTITUTEWORD#=Í=═
- #SUBSTITUTEWORD#=Î=╬
- #SUBSTITUTEWORD#=Ï=╧
- #SUBSTITUTEWORD#=Ð=╨
- #SUBSTITUTEWORD#=Ñ=╤
- #SUBSTITUTEWORD#=Ò=╥
- #SUBSTITUTEWORD#=Ó=╙
- #SUBSTITUTEWORD#=Ô=╘
- #SUBSTITUTEWORD#=Õ=╒
- #SUBSTITUTEWORD#=Ö=╓
- #SUBSTITUTEWORD#=×=╫
- #SUBSTITUTEWORD#=Ø=╪
- #SUBSTITUTEWORD#=Ù=┘
- #SUBSTITUTEWORD#=Ú=┌
- #SUBSTITUTEWORD#=Û=█
- #SUBSTITUTEWORD#=Ü=▄
- #SUBSTITUTEWORD#=Ý=▌
- #SUBSTITUTEWORD#=Þ=▐
- #SUBSTITUTEWORD#=ß=▀
- #SUBSTITUTEWORD#=à=α
- #SUBSTITUTEWORD#=á=ß
- #SUBSTITUTEWORD#=â=Γ
- #SUBSTITUTEWORD#=ã=π
- #SUBSTITUTEWORD#=ä=Σ
- #SUBSTITUTEWORD#=å=σ
- #SUBSTITUTEWORD#=æ=µ
- #SUBSTITUTEWORD#=ç=τ
- #SUBSTITUTEWORD#=è=Φ
- #SUBSTITUTEWORD#=é=Θ
- #SUBSTITUTEWORD#=ê=Ω
- #SUBSTITUTEWORD#=ë=δ
- #SUBSTITUTEWORD#=ì=∞
- #SUBSTITUTEWORD#=í=φ
- #SUBSTITUTEWORD#=î=ε
- #SUBSTITUTEWORD#=ï=∩
- #SUBSTITUTEWORD#=ð=≡
- #SUBSTITUTEWORD#=ñ=±
- #SUBSTITUTEWORD#=ò=≥
- #SUBSTITUTEWORD#=ó=≤
- #SUBSTITUTEWORD#=ô=⌠
- #SUBSTITUTEWORD#=õ=⌡
- #SUBSTITUTEWORD#=ö=÷
- #SUBSTITUTEWORD#=÷=≈
- #SUBSTITUTEWORD#=ø=°
- #SUBSTITUTEWORD#=ù=∙
- #SUBSTITUTEWORD#=ú=·
- #SUBSTITUTEWORD#=û=√
- #SUBSTITUTEWORD#=ü=ⁿ
- #SUBSTITUTEWORD#=ý=²
- #SUBSTITUTEWORD#=þ=■
- #SUBSTITUTEWORD#=ÿ=
- #SUBSTITUTEWORD#="="
- #ENDSUBSTITUTETAGS#
-
-
-